package com.example.day9.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author Linyh
 * @Description
 * @Date 2022/7/14 19:55
 **/

@Data
@Component
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "user")
public class User {
    private String username;
    private String passwd;
    private String phone;
    private int age;
}
